Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Nov 29, 2025

chore: refactor live conection parameters into separate vertex and mldef functions.
chore: move the credentials refresh into asyncio.to_thread (this func is async, requests should be too)

The diff looks messy, but this really just splits the contents of the giant if/else in connect into _prepare_connection_vertex and _prepare_connection_mldev.

No behavior changes expected. Existing tests pass, additional tests added for coverage.

@copybara-service copybara-service bot force-pushed the copybara/835355573 branch 4 times, most recently from 0bdcfea to 8ee000c Compare November 30, 2025 22:29
@copybara-service copybara-service bot changed the title chore: refactor live credentials for next cl. chore: refactor live conection parameters into separate vertex and mldef functions. Nov 30, 2025
…def functions.

chore: move the credentials refresh into asyncio.to_thread (this func is async, requests should be too)

The diff looks messy, but this really just splits the contents of the giant if/else in connect into _prepare_connection_vertex and _prepare_connection_mldev.

No behavior changes expected. Existing tests pass, additional tests added for coverage.

PiperOrigin-RevId: 835355573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant